<template>
    <nav>
        <div>
            <router-link class="navbar-brand" to="/"> 仿知乎专栏 </router-link>
        </div>
    </nav>
</template>

<script lang="ts">
import { defineComponent, PropType } from 'vue'
import { useStore } from 'vuex'
import { useRouter } from 'vue-router'

import { UserProps } from '../store/types'
import { def } from '@vue/shared'

export default defineComponent({
    name:"GlobalHeader",
    components:{

    },
    props:{
        user:{
            type: Object as PropType<UserProps>,
            required: true
        }
    }
})






</script>